﻿using Microsoft.EntityFrameworkCore;
using Warehouse.Domain;

namespace Warehouse.Infrstructre
{
    public class EFCoreDBcontext : DbContext
    {
        public EFCoreDBcontext(DbContextOptions<EFCoreDBcontext> options) : base(options)
        {
        }
        public DbSet<Allocate> Allocates {  get; set; }
        public DbSet<AllProduct> AllProducts {  get; set; }
        public DbSet<Injure> Injures {  get; set; }
        public DbSet<InProduct> InProducts {  get; set; }
        public DbSet<Inventory> Inventorys {  get; set; }
        public DbSet<InventProduct> InventProducts {  get; set; }//盘点产品关联表
        public DbSet<Movelibrary> Movelibrarys {  get; set; }
        public DbSet<MoveProduct> MoveProducts {  get; set; }
        public DbSet<OutProduct> OutProducts {  get; set; }
        public DbSet<OutShip> OutShips {  get; set; }
        public DbSet<StockProducts> StockProductss {  get; set; }
        public DbSet<StockRoom> StockRooms {  get; set; }
        public DbSet<StoreHouse> StoreHouses {  get; set; }
        public DbSet<Warehouseinfo> Warehouseinfos {  get; set; }
    }
}
